lst = ['hello', 'world', 98, 'wde', 234]
print(lst[2])
print(lst.index('wde'))
print(lst[-4])
print()

print('2.切片操作')
lst = [10, 20, 30, 40, 50, 60, 70, 80]
#star = 1 stop = 6 step = 1
print(lst[1:6:1])
print(lst[1:6:2])
print(lst[:6:2])
print(lst[1::2])
print(lst[::-1])
print(lst[7::-1])